package com.aptech.bank.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Functions entity. @author MyEclipse Persistence Tools
 */

public class Functions implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Set<Syspage> syspages = new HashSet<Syspage>(0);

	// Constructors

	/** default constructor */
	public Functions() {
	}

	/** full constructor */
	public Functions(String name, Set<Syspage> syspages) {
		this.name = name;
		this.syspages = syspages;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Syspage> getSyspages() {
		return this.syspages;
	}

	public void setSyspages(Set<Syspage> syspages) {
		this.syspages = syspages;
	}

}